[INFO] cloning repository https://github.com/ellabellla/mcp23017-rpi-lib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ellabellla/mcp23017-rpi-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fellabellla%2Fmcp23017-rpi-lib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fellabellla%2Fmcp23017-rpi-lib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82960fcc60c00bcbae8b41e3a397053d6cf3bc92
[INFO] testing ellabellla/mcp23017-rpi-lib against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fellabellla%2Fmcp23017-rpi-lib" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ellabellla/mcp23017-rpi-lib
[INFO] finished tweaking git repo https://github.com/ellabellla/mcp23017-rpi-lib
[INFO] tweaked toml for git repo https://github.com/ellabellla/mcp23017-rpi-lib written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ellabellla/mcp23017-rpi-lib on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ellabellla/mcp23017-rpi-lib already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rppal v0.14.1
[INFO] [stderr]   Downloaded libc v0.2.138
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c252ed45dab1af410500f01e4e7d869aae6365e9ad6f7211e85405d3a2ff5c56
[INFO] running `Command { std: "docker" "start" "-a" "c252ed45dab1af410500f01e4e7d869aae6365e9ad6f7211e85405d3a2ff5c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c252ed45dab1af410500f01e4e7d869aae6365e9ad6f7211e85405d3a2ff5c56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c252ed45dab1af410500f01e4e7d869aae6365e9ad6f7211e85405d3a2ff5c56", kill_on_drop: false }`
[INFO] [stdout] c252ed45dab1af410500f01e4e7d869aae6365e9ad6f7211e85405d3a2ff5c56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be4d151b61d59e98a2323cb0bf9cf9038e7812dc990479c4c6eec407fea9b652
[INFO] running `Command { std: "docker" "start" "-a" "be4d151b61d59e98a2323cb0bf9cf9038e7812dc990479c4c6eec407fea9b652", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling rppal v0.14.1
[INFO] [stderr]    Compiling mcp23017-rpi-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.46s
[INFO] running `Command { std: "docker" "inspect" "be4d151b61d59e98a2323cb0bf9cf9038e7812dc990479c4c6eec407fea9b652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be4d151b61d59e98a2323cb0bf9cf9038e7812dc990479c4c6eec407fea9b652", kill_on_drop: false }`
[INFO] [stdout] be4d151b61d59e98a2323cb0bf9cf9038e7812dc990479c4c6eec407fea9b652
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d30d7c6a143429a3dd256db991884d57682e028d4a9a1ad86db028e29f73e275
[INFO] running `Command { std: "docker" "start" "-a" "d30d7c6a143429a3dd256db991884d57682e028d4a9a1ad86db028e29f73e275", kill_on_drop: false }`
[INFO] [stderr]    Compiling mcp23017-rpi-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "d30d7c6a143429a3dd256db991884d57682e028d4a9a1ad86db028e29f73e275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d30d7c6a143429a3dd256db991884d57682e028d4a9a1ad86db028e29f73e275", kill_on_drop: false }`
[INFO] [stdout] d30d7c6a143429a3dd256db991884d57682e028d4a9a1ad86db028e29f73e275
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2a29983f53d5b95388c7aad8dd569af2143c3c4d0ee40e7502486a0a5127082d
[INFO] running `Command { std: "docker" "start" "-a" "2a29983f53d5b95388c7aad8dd569af2143c3c4d0ee40e7502486a0a5127082d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mcp23017_rpi_lib-e1c5d143ec9a092f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mcp23017_rpi_lib
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MCP23017` in this scope
[INFO] [stdout]  --> src/lib.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut mcp = MCP23017::new(0x20, 1).unwrap();
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `MCP23017`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 8 + use mcp23017_rpi_lib::MCP23017;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pin` in this scope
[INFO] [stdout]   --> src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | let led = Pin::new(0).unwrap();
[INFO] [stdout]    |           ^^^ use of undeclared type `Pin`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::pin::Pin;
[INFO] [stdout]    |
[INFO] [stdout]  8 + use mcp23017_rpi_lib::Pin;
[INFO] [stdout]    |
[INFO] [stdout]  8 + use rppal::gpio::Pin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Mode` in this scope
[INFO] [stdout]   --> src/lib.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | mcp.pin_mode(&led, Mode::Output).unwrap();
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Mode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  8 + use mcp23017_rpi_lib::Mode;
[INFO] [stdout]    |
[INFO] [stdout]  8 + use rppal::gpio::Mode;
[INFO] [stdout]    |
[INFO] [stdout]  8 + use rppal::spi::Mode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     mcp.output(&led, State::High).unwrap();
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `State`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  8 + use mcp23017_rpi_lib::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     sleep(Duration::from_millis(200));
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::thread::sleep;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |     sleep(Duration::from_millis(200));
[INFO] [stdout]    |           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     mcp.output(&led, State::Low).unwrap();
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `State`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  8 + use mcp23017_rpi_lib::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     sleep(Duration::from_millis(200));
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::thread::sleep;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |     sleep(Duration::from_millis(200));
[INFO] [stdout]    |           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2a29983f53d5b95388c7aad8dd569af2143c3c4d0ee40e7502486a0a5127082d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a29983f53d5b95388c7aad8dd569af2143c3c4d0ee40e7502486a0a5127082d", kill_on_drop: false }`
[INFO] [stdout] 2a29983f53d5b95388c7aad8dd569af2143c3c4d0ee40e7502486a0a5127082d
